package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * Banner表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("sys_banner")
@ApiModel(value = "SysBanner对象", description = "Banner表")
public class SysBanner implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("Banner名称")
    private String bannerName;

    @ApiModelProperty("Banner图片地址")
    private String imgUrl;

    @ApiModelProperty("Banner类型（1：广告，2：活动，3：弹窗）")
    private Integer bannerType;

    @ApiModelProperty("跳转链接")
    private String jumpLink;

    @ApiModelProperty("放置位置 1: 换电页首页中间,2: 换电页首页上面,3: 首页顶部")
    private Integer location;

    @ApiModelProperty("权重")
    private Integer weight;

    @ApiModelProperty("有效期开始时间（yyyy-MM-dd HH:mm:ss）")
    private Date startTime;

    @ApiModelProperty("有效期结束时间（yyyy-MM-dd HH:mm:ss）")
    private Date endTime;

    @ApiModelProperty("是否启用:0.否1.是（默认）")
    private Integer isEnabled;

    @ApiModelProperty("创建人ID")
    private Integer creatorId;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人ID")
    private Integer modifierId;

    @ApiModelProperty("更新人")
    private String modifier;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
